package com.iswust.mianzhoutong.sign.exception;

/**
 * @author liushuai
 * @create 2022-07-25 14:02
 */


public class ApiException extends Exception {
    private int code = 0;

    public ApiException(int code, String msg) {
        super(msg);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    @Override
    public String toString() {
        return "ApiException [code=" + code + "]";
    }

}

